package com.ramos.kuaixiao.shops.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.ramos.kuaixiao.MyView.MyTextView;
import com.ramos.kuaixiao.R;
import com.ramos.kuaixiao.ui.BaseActivity;
import com.ramos.kuaixiao.utils.Utils;

public class MallAboutUsActivity extends BaseActivity implements View.OnClickListener {
    TextView title_text;
    LinearLayout title_reback;
    MyTextView textView;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_aboutus_mall);
        title_reback = (LinearLayout) findViewById(R.id.title_reback);
        title_reback.setOnClickListener(this);
        textView  = (MyTextView) findViewById(R.id.textView);
        StringBuilder sb = new StringBuilder();
        sb.append("     当前版本号:"+ Utils.getVersionName(this) + "");
        //sb.append("     当前版本号:0.0"+  ".");
        //sb.append("本产品由武汉志熠科技有限责任公司开发。使用过程中有任何问题,可拨打电话17762433533;或将问题发送至邮箱yinglj_hbjz@163.com。");
        textView.setText(sb.toString());
        title_text = (TextView) findViewById(R.id.title_text);
        title_text.setText("关于我们");
    }

    @Override
    public void onClick(View v) {
        int id = v.getId();
        if (id == R.id.title_reback) {
            this.finish();
        }
    }
}


